<?php
/**
 * article class
 */
namespace lightblog\home\controller;

use lightblog\engine\controller;
use lightblog\home\model\timelineModel;

class timeline extends controller {
    function indexAction() {
        $model = new timelineModel;
        $article_list = $model->getTimeline();

        $data['list'] = $article_list;
        return $this->render($data);
    }
}
